IF NOT EXISTS (SELECT * FROM master.dbo.syslogins WHERE loginname = N'PREGASE\ncaliva')
CREATE LOGIN [PREGASE\ncaliva] FROM WINDOWS
GO
CREATE USER [PREGASE\ncaliva] FOR LOGIN [PREGASE\ncaliva] WITH DEFAULT_SCHEMA=[PREGASE\ncaliva]
GO
